Repository navigation
Adopt NSE 2.9.0; the VM observers use NSE's observer API - #210
Merged
Merged
Conversation
The nse extra requires network-sandbox-engine>=2.9.0, where a stimulus's verdict can no longer be taken from another packet that reused its kernel trace id. The VM observers drop their own copies of what NSE 2.8.0 added for observers outside the sandbox: - agents written by nse.agents.write_agents, plans from agent_plan(), no more argv[4]/argv[5]; - packets between two beacons by frame (CaptureReport.between), replacing observer._from_opening and the chaos sweep's timestamp comparison; - the guest's MAC from the beacon report; the guest no longer writes a beacon token or a MAC into capture-open. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: onyks-os <129986281+onyks-os@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NSE 2.9.0 is out. This raises the
nseextra's floor to it and does the simplification planned with NSE 2.8.0 (.internal/nse-2.8.0-proposte.md, A + B + C).Floor.
network-sandbox-engine>=2.9.0(pyproject,MIN_NSE_VERSION,requirements/ci.txtwith only NSE upgraded, docs). 2.9.0 no longer reads another packet's verdict as a stimulus's when the kernel reuses a trace id, which the zero-leak suite relies on.VM observers (
scripts/vm/lifecycle/observer.py,chaos_observer.py,tests/chaos_observation.py):nse.agents.write_agents(stimulus-agent.py,beacon-agent.py;run.shandchaos.shfollow the rename), plans fromagent_plan(): no moreargv[4]/argv[5];CaptureReport.betweenplaces packets between two beacons by frame, not by timestamp. It replacesobserver._from_openingand the chaos sweep'sescaped()comparison;capture-open(it still reads its MAC for the router solicitation).Tests: the observer tests run the real NSE agents, so they now run 2.9.0's; 39/39 locally.
test_the_guest_writes_the_beacon_agents_planis removed because NSE owns that contract now. The VM jobs are what really exercise this.🤖 Generated with Claude Code